package cn.sym.basic.service;

import cn.sym.basic.dto.LoginDto;
import cn.sym.basic.dto.WechatBinderDto;
import cn.sym.basic.util.AjaxResult;

import java.util.Map;

public interface ILoginService {

    /**
     * 账号密码登录
     * @param loginDto
     */
    Map<String, Object> account(LoginDto loginDto);

    /**
     * 微信登录接口
     * @param param
     * @return
     */
    AjaxResult wechat(Map<String, String> param);

    /**
     * 微信绑定接口
     * @param wechatBinderDto
     * @return
     */
    Map<String, Object> wechatBinder(WechatBinderDto wechatBinderDto);
}
